<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>cyh4</title>
    <script src="font/iconfont.js"></script>
    <style>
        body{
            background-color: rgb(245, 246, 248);
        }
        h2,p,ul,body{
            padding: 0;
            margin: 0;
        }
        a{
            list-style: none;
            text-decoration: none;
            color: #000;
        }
        .title{
            list-style: none;
            position: fixed;
            display: flex;
            left: 0;
            top: 0;
            width: 100%;
            height: 120px;
            background-color: #fff;
            z-index: 9;
            border-bottom: 1px solid rgb(204, 204, 204);
        }
        .title h2{
            font-size: 50px;
            margin-left: 460px;
            margin-top: 30px;
        }
        .title svg{
            width: 65px;
            margin-left: 360px;
            margin-top: -15px;
        }
        .jlist{
            margin-top: 100px;
            list-style: none;
            width: 100%;
            display: flex;
            height: 240px;
            background-color: #fff;
            border-bottom: 30px solid rgb(245, 246, 248);
        }
        .jlist img{
            margin-top: -200px;
            margin-left: -20px;
            width: 180px;
            height: 180px;
            border-radius: 100%;
        }
        .jlist h3{
            margin-left: 200px;
            margin-top: 80px;
            width: 700px;
            font-size: 50px;
        }
        .jlist .icon_jt{
            position: relative;
            left: 915px;
            width: 70px;
            height: 70px;
            margin-top: 100px;
        }
        .kc {
            display: flex;
            background-color: #fff;
            border-bottom: 30px solid rgb(245, 246, 248);
        }
        .kc .icon{
            width: 70px;
            margin-left: 80px;
        }
        .kc p{
            font-size: 40px;
            margin-top: 50px;
            margin-left: 50px;
            width: 800px;
        }
        .function{
            background-color: #fff;
            height: 600px;
            border-bottom: 30px solid rgb(245, 246, 248);
        }
        .function li{
            display: flex;
        }
        .function .icon{
            width: 70px;
            margin-left: 80px;
        }
        .function p{
            font-size: 40px;
            margin-top: 50px;
            margin-left: 50px;
            width: 800px;
        }
        .icon_jt{
            width: 70px;
            height: 70px;
            margin-top: 50px;
        }
        .sz {
            display: flex;
            background-color: #fff;
            margin-top: 25px;
        }
        .sz .icon1{
            width: 80px;
            margin-left: 80px;
        }
        .sz p{
            font-size: 40px;
            margin-top: 50px;
            margin-left: 50px;
            width: 800px;
        }
        .xinxi{
            margin-top: 50px;
            font-size: 30px;
            text-align: center;
        }



        .navi{
           height: 150px;
            list-style: none;
            position: fixed;
            left: 0;
            bottom: 0;
            width: 100%;
            background-color: #fff;
            z-index: 9;
            display: flex;
            background-color: rgb(247, 247, 247);
       }
       .navi>li{
           width: 25%;
           text-align: center;
       }
       .icon2{
            width: 80px;
            height: 100px;
            vertical-align: 20px;
            fill:currentColor;
            overflow: hidden;
            margin-bottom: 15px;
            margin-right: 20px;
            
       }
       .navi a{
           text-decoration: none;
           width: 100%;
       }
       .navi p{
           font-size: 40px;
           margin-left: -285px;
           margin-top: -50px;
           color: rgb(102,102,102);
       } 
    </style>
</head>
<body>
    <div class="title">
        <h2>我</h2>
        <a href="#">
            <svg  aria-hidden="true">
                <use xlink:href="#icon-erweima"></use>
            </svg>
        </a>
    </div>




    <a href="./project7.html">
        <ul class="jlist"><div class="me">
            <svg class="icon_jt" aria-hidden="true">
                <use xlink:href="#icon-jiantou"></use>
            </svg>
        </div>
    </ul>
    </a>


    
    <a href="#">
        <div class="kc">
            <svg class="icon" aria-hidden="true">
                <use xlink:href="#icon-kecheng_me"></use>
            </svg>
            <p>课程</p>
            <svg class="icon_jt" aria-hidden="true">
                <use xlink:href="#icon-jiantou"></use>
            </svg>
        </div>
    </a>
    <div class="function">
        <a href="#">
            <li>
                <svg class="icon" aria-hidden="true">
                    <use xlink:href="#icon-shujia"></use>
                </svg>
                <p>书架</p>
                <svg class="icon_jt" aria-hidden="true">
                    <use xlink:href="#icon-jiantou"></use>
                </svg>
            </li>
        </a>
        <a href="#">
            <li>
                <svg class="icon" aria-hidden="true">
                    <use xlink:href="#icon-yun"></use>
                </svg>
                <p>云盘</p>
                <svg class="icon_jt" aria-hidden="true">
                    <use xlink:href="#icon-jiantou"></use>
                </svg>
            </li>
        </a>
        <a href="#">
            <li>
                <svg class="icon" aria-hidden="true">
                    <use xlink:href="#icon-xiaozu"></use>
                </svg>
                <p>小组</p>
                <svg class="icon_jt" aria-hidden="true">
                    <use xlink:href="#icon-jiantou"></use>
                </svg>
            </li>
        </a>
        <a href="#">
            <li>
                <svg class="icon" aria-hidden="true">
                    <use xlink:href="#icon-bijiben"></use>
                </svg>
                <p>笔记本</p>
                <svg class="icon_jt" aria-hidden="true">
                    <use xlink:href="#icon-jiantou"></use>
                </svg>
            </li>
        </a>

        <a href="#">
            <div class="sz">
                <svg class="icon1" aria-hidden="true">
                    <use xlink:href="#icon-shezhi"></use>
                </svg>
                <p>设置</p>
                <svg class="icon_jt" aria-hidden="true">
                    <use xlink:href="#icon-jiantou"></use>
                </svg>
            </div>
        </a>
        <div class="xinxi">常月华 19001011027</div>
        


        <ul class="navi">
            <li>
                <a href="project1-index.html">
                    <svg class="icon2" aria-hidden="true">
                        <use xlink:href="#icon-home"></use>
                    </svg>
                    <p>首页</p>
                </a>
            </li>
        
            <li>
                <a href="./project2.html">
                    <svg class="icon2" aria-hidden="true">
                        <use xlink:href="#icon-xiaoxi0"></use>
                    </svg>
                    <p>消息</p>
                </a>
            </li>
        
            <li>
                <a href="#">
                    <svg class="icon2" aria-hidden="true">
                        <use xlink:href="#icon-biji"></use>
                    </svg>
                    <p>笔记</p>
                </a>
            </li>
        
            <li>
                <a href="#">
                    <svg class="icon2" aria-hidden="true">
                        <use xlink:href="#icon-wo1"></use>
                    </svg>
                    <p>我</p>
                </a>
            </li>
    </ul> 

<!-- json3 -->
    <script>
         var json=[{
            img:"./img/touxiang.jpg",
            title:"常月华",
        }]

        var jlist=document.querySelector(".jlist");
        json.forEach(function(v,i){
            var nli=document.createElement("li");/* 创建li元素 */
            nli.innerHTML=`<div>
                <h3>${v.title}</h3>
            </div>
            <a href="#"><img src="${v.img}"></a>`;
            //es6新的字符串语法，内部可包括引号，包括变量${}
            jlist.appendChild(nli);
            //在jlist的内部的最后添加nli。
        });
    </script>

</body>
</html>